<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">-->
    <link rel="stylesheet" href="https://unpkg.com/mint-ui/lib/style.css">



</head>
<body>
<div id="app">
    <mt-button @click.native="handleClick">按钮</mt-button>

    <mt-popup
            v-model="popupVisible"
            position="bottom">
        提示
    </mt-popup>
    <mt-palette-button content="+">
        <div class="my-icon-button"></div>
        <div class="my-icon-button"></div>
        <div class="my-icon-button"></div>
    </mt-palette-button>
</div>

<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/mint-ui/lib/index.js"></script>
<script>
    new Vue({
        el: '#app',
        methods: {
            handleClick: function() {
                this.$toast('Hello world!')
            },
            main_log(val) {
                console.log('main_log', val);
            },
            sub_log(val) {
                console.log('sub_log', val);
                this.$refs.target_1.collapse();
            }
        }
    })
</script>
</body>
</html>